//c++输出字符串的地址
#include<iostream>
using namespace std;
int main() {
	const char* s = "hello";
	cout << s << endl;
	//c++中cout认为char* 类型是打印字符串
	//要打印地址需要强转为void* 或int* 类型
	cout << (int*)s << endl;
	cout << (void*)s << endl;
	return 0;
}